package com.ruoyi.basic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 编码规则对象 bd_coderule
 * 
 * @author ruoyi
 * @date 2021-01-29
 */
public class BdCoderule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String bdCrcode;

    /** 年 */
    @Excel(name = "年")
    private Long bdCryear;

    /** 前缀 */
    @Excel(name = "前缀")
    private String bdCrpreffix;

    /** 后缀 */
    @Excel(name = "后缀")
    private String bdCraffix;

    /** 当前编码 */
    @Excel(name = "当前编码")
    private String bdCrcurcode;

    /** 长度 */
    @Excel(name = "长度")
    private String bdCrcodelength;

    /** 备注 */
    @Excel(name = "备注")
    private String bdCrdes;

    /** 创建人 */
    @Excel(name = "创建人")
    private String bdCroper;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bdCropertime;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private String sbdCrlmoper;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bdCrlmtime;

    public void setBdCrcode(String bdCrcode) 
    {
        this.bdCrcode = bdCrcode;
    }

    public String getBdCrcode() 
    {
        return bdCrcode;
    }
    public void setBdCryear(Long bdCryear) 
    {
        this.bdCryear = bdCryear;
    }

    public Long getBdCryear() 
    {
        return bdCryear;
    }
    public void setBdCrpreffix(String bdCrpreffix) 
    {
        this.bdCrpreffix = bdCrpreffix;
    }

    public String getBdCrpreffix() 
    {
        return bdCrpreffix;
    }
    public void setBdCraffix(String bdCraffix) 
    {
        this.bdCraffix = bdCraffix;
    }

    public String getBdCraffix() 
    {
        return bdCraffix;
    }
    public void setBdCrcurcode(String bdCrcurcode) 
    {
        this.bdCrcurcode = bdCrcurcode;
    }

    public String getBdCrcurcode() 
    {
        return bdCrcurcode;
    }
    public void setBdCrcodelength(String bdCrcodelength) 
    {
        this.bdCrcodelength = bdCrcodelength;
    }

    public String getBdCrcodelength() 
    {
        return bdCrcodelength;
    }
    public void setBdCrdes(String bdCrdes) 
    {
        this.bdCrdes = bdCrdes;
    }

    public String getBdCrdes() 
    {
        return bdCrdes;
    }
    public void setBdCroper(String bdCroper) 
    {
        this.bdCroper = bdCroper;
    }

    public String getBdCroper() 
    {
        return bdCroper;
    }
    public void setBdCropertime(Date bdCropertime) 
    {
        this.bdCropertime = bdCropertime;
    }

    public Date getBdCropertime() 
    {
        return bdCropertime;
    }
    public void setSbdCrlmoper(String sbdCrlmoper) 
    {
        this.sbdCrlmoper = sbdCrlmoper;
    }

    public String getSbdCrlmoper() 
    {
        return sbdCrlmoper;
    }
    public void setBdCrlmtime(Date bdCrlmtime) 
    {
        this.bdCrlmtime = bdCrlmtime;
    }

    public Date getBdCrlmtime() 
    {
        return bdCrlmtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bdCrcode", getBdCrcode())
            .append("bdCryear", getBdCryear())
            .append("bdCrpreffix", getBdCrpreffix())
            .append("bdCraffix", getBdCraffix())
            .append("bdCrcurcode", getBdCrcurcode())
            .append("bdCrcodelength", getBdCrcodelength())
            .append("bdCrdes", getBdCrdes())
            .append("bdCroper", getBdCroper())
            .append("bdCropertime", getBdCropertime())
            .append("sbdCrlmoper", getSbdCrlmoper())
            .append("bdCrlmtime", getBdCrlmtime())
            .toString();
    }
}
